import React from 'react'

import {footerRouter} from "../../router/routes"
import {NavLink} from "react-router-dom"
import "./style.scss"
function index() {
    return (
        <div className='footer'>
            {
                footerRouter.map((v,i)=>{
                    return(
                        <NavLink key={i} to={v.path}>
                            {v.icon}
                            <span>{v.name}</span>
                        </NavLink>
                    )
                })
            }
        </div>
    )
}

export default index
